package com.markc1d.weibo.mapper;

import com.markc1d.weibo.pojo.entity.HotNews;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface HotNewsMapper {
    List<HotNews> HotNewsArr();

    //更新数据库title字段
    void updateTitleById(@Param("id") Integer id, @Param("title") String title);

    void deleteTitleById(@Param("id")Integer id,@Param("title")String title);

    int deleteTitleById(Integer id);
}
